package com.ruoyi.supplier.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 每日收入账对象 tb_report_cash
 * 
 * @author oliver.li
 * @date 2021-08-14
 */
public class TbReportCash extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 现金 */
    @Excel(name = "现金")
    private BigDecimal cash;

    /** 客如云 */
    @Excel(name = "客如云")
    private BigDecimal thirdParty;

    /** 微信 */
    @Excel(name = "微信")
    private BigDecimal wechat;

    /** 支付宝 */
    @Excel(name = "支付宝")
    private BigDecimal alipay;

    /** 手续费 */
    @Excel(name = "手续费")
    private BigDecimal serviceCharge;

    /** 对账金额 */
    @Excel(name = "对账金额")
    private BigDecimal verifyRecord;

    private Long storeId;

    /** 门店类型 */
    @Excel(name = "门店类型")
    private String storeName;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cashDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCash(BigDecimal cash) 
    {
        this.cash = cash;
    }

    public BigDecimal getCash() 
    {
        return cash;
    }
    public void setThirdParty(BigDecimal thirdParty) 
    {
        this.thirdParty = thirdParty;
    }

    public BigDecimal getThirdParty() 
    {
        return thirdParty;
    }
    public void setWechat(BigDecimal wechat) 
    {
        this.wechat = wechat;
    }

    public BigDecimal getWechat() 
    {
        return wechat;
    }
    public void setAlipay(BigDecimal alipay) 
    {
        this.alipay = alipay;
    }

    public BigDecimal getAlipay() 
    {
        return alipay;
    }
    public void setServiceCharge(BigDecimal serviceCharge) 
    {
        this.serviceCharge = serviceCharge;
    }

    public BigDecimal getServiceCharge() 
    {
        return serviceCharge;
    }
    public void setVerifyRecord(BigDecimal verifyRecord) 
    {
        this.verifyRecord = verifyRecord;
    }

    public BigDecimal getVerifyRecord() 
    {
        return verifyRecord;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setCashDate(Date cashDate) 
    {
        this.cashDate = cashDate;
    }

    public Date getCashDate() 
    {
        return cashDate;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cash", getCash())
            .append("thirdParty", getThirdParty())
            .append("wechat", getWechat())
            .append("alipay", getAlipay())
            .append("serviceCharge", getServiceCharge())
            .append("verifyRecord", getVerifyRecord())
            .append("storeId", getStoreId())
                .append("storeName", getStoreName())
            .append("cashDate", getCashDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
